import 'package:flutter/material.dart';
import 'package:hello_world/seting.dart';
import 'package:hello_world/views/home.dart';
import 'package:hello_world/views/cart.dart';
// import 'package:hello_world/bus.dart';

class RouteViewI extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: new MaterialApp(
        title: 'layout',
        // initialRoute: '/',
        home: Home(),
        routes: <String, WidgetBuilder>{
          '/home': (BuildContext context) => new Home(),
          '/cart': (BuildContext context) => new Cart(),
          '/seting': (BuildContext context) => new Seting(),
        },
      ),
    );
  }
}
